const mongoose = require("mongoose")
const Schema = mongoose.Schema

//给集合进行限制

const RateType = {
    propname:String,
    propnumber:Number,
    propemail:String,
    building:String,
    roomnumber:String, 
    basics:Number,
    extend:Number,
    tmoney:Number,
    editTime:Date, //编辑时间
    ispay:Number, //是否缴费
    

}
const RateModel = mongoose.model("rate",new Schema(RateType))

module.exports = RateModel